package controller

import (
	"fmt"
	"gadmin/model"
	"net/http"

	"github.com/gin-gonic/gin"
)

func Index(c *gin.Context) {
	var t model.Table
	err := model.DB.First(&t).Error
	fmt.Println(err)
	c.JSON(http.StatusOK, gin.H{})
}
